package com.xxxt.zpc.service;

import javax.servlet.http.HttpSession;
import com.xxxt.entity.Admin;
import com.xxxt.entity.Student;
import com.xxxt.entity.Teacher;

public interface CommonService {
	public Student studentLogin(String name,String password,HttpSession session);
	public Teacher teacherLogin(String name,String password,HttpSession session);
	public Admin adminLogin(String name,String password,HttpSession session);
	public Boolean updatePasswordById(String identity,String password,String id);
	public Integer selectStudentByIdAndPassword(String identity,String id,String password);
}
